package com.msos.model.customer;

/**
 * 弟中弟：小邦
 */
public class Customer {
    private Integer uid;
    private String username;
    private String password;
    private String gender;
    private String idCard;
    private String cardType;
    private String phone;
    private Double balance;
    private String registDate;
    private Boolean enabled;
    private Integer mid;
    private Integer role;

    public Customer() {
    }

    public Customer(String username, String password, String gender, String idCard, String cardType, String phone, Double balance, String registDate, Boolean enabled, Integer mid) {
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.idCard = idCard;
        this.cardType = cardType;
        this.phone = phone;
        this.balance = balance;
        this.registDate = registDate;
        this.enabled = enabled;
        this.mid = mid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public String getRegistDate() {
        return registDate;
    }

    public void setRegistDate(String registDate) {
        this.registDate = registDate;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", gender='" + gender + '\'' +
                ", idCard='" + idCard + '\'' +
                ", cardType='" + cardType + '\'' +
                ", phone='" + phone + '\'' +
                ", balance=" + balance +
                ", registDate='" + registDate + '\'' +
                ", enabled=" + enabled +
                ", mid=" + mid +
                ", role=" + role +
                '}';
    }
}
